package com.hualan.dao;

import com.hualan.bean.PanghuShop;
import java.sql.SQLException;
import java.util.List;

public interface StoreDao {
    // 新增
    int insert(PanghuShop entity);

    // 删除
    int delete(Integer id) throws SQLException;

    // 修改
    int update(PanghuShop entity);

    // 根据id查询
    PanghuShop selectById(Integer id);

    // 分页查询
    List<PanghuShop> selectByPage(Integer pageNum, Integer pageSize);

    // 查询所有
    long selectAll();

    public List<PanghuShop> panghuShopList(String pageNum, String pageSize, String shopName,String shopPhone, String startTime, String endTime);

}
